﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace TX
{
    public partial class ABelge2 : BaseModule
    {
        private IContainer components;
        private DevExpress.XtraGrid.GridControl GCbelge;
        private BindingSource belgeBindingSource;
        private DSstok dSstok;
        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
        private DevExpress.XtraGrid.Columns.GridColumn colBelgeId;
        private DevExpress.XtraGrid.Columns.GridColumn colTarih;
        private DevExpress.XtraGrid.Columns.GridColumn colBelgeTipiId;
        private DevExpress.XtraGrid.Columns.GridColumn colInvoiceDate;
        private DevExpress.XtraGrid.Columns.GridColumn colInvoiceNr;
        private DevExpress.XtraGrid.Columns.GridColumn colIrsaliyeTarihi;
        private DevExpress.XtraGrid.Columns.GridColumn colIrsaliyeNr;
        private DevExpress.XtraGrid.Columns.GridColumn colVendorId;
        private DevExpress.XtraGrid.Columns.GridColumn colisClosed;
        private DevExpress.XtraGrid.Columns.GridColumn colOwnerId;
        private DevExpress.XtraGrid.Columns.GridColumn colDovizCinsiId;
        private DevExpress.XtraGrid.Columns.GridColumn colKargo;
        private DevExpress.XtraGrid.Columns.GridColumn colGenelToplam;
        private DevExpress.XtraGrid.Columns.GridColumn colAlisSekliId;
        private DevExpress.XtraGrid.Columns.GridColumn colPaymentTermId;
        private DevExpress.XtraGrid.Columns.GridColumn colDeliveryTermId;
        private DevExpress.XtraGrid.Columns.GridColumn colCourierId;
        private DevExpress.XtraGrid.Columns.GridColumn colExpensePercentageId;
        private DevExpress.XtraGrid.Columns.GridColumn colReferansNo;
        private DevExpress.XtraGrid.Columns.GridColumn colModifiedOn;
        private TX.DSstokTableAdapters.BelgeTableAdapter belgeTableAdapter;
        private DevExpress.XtraGrid.GridControl gridControl1;
        private BindingSource fKBelgeDetayBelgeBindingSource;
        private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
        private DevExpress.XtraGrid.Columns.GridColumn colBelgeDetayId;
        private DevExpress.XtraGrid.Columns.GridColumn colBelgeId1;
        private DevExpress.XtraGrid.Columns.GridColumn colStokId;
        private DevExpress.XtraGrid.Columns.GridColumn colPurchaseOrderId;
        private DevExpress.XtraGrid.Columns.GridColumn colCustomerId;
        private DevExpress.XtraGrid.Columns.GridColumn colTotalQty;
        private DevExpress.XtraGrid.Columns.GridColumn colLineTotal;
        private DevExpress.XtraGrid.Columns.GridColumn colImage;
        private DevExpress.XtraGrid.Columns.GridColumn colSatinalmaOKi;
        private DevExpress.XtraGrid.Columns.GridColumn colisClosed1;
        private DevExpress.XtraGrid.Columns.GridColumn colModifiedOn1;
        private DevExpress.XtraGrid.Views.Grid.GridView gridView3;
        private TX.DSstokTableAdapters.BelgeDetayTableAdapter belgeDetayTableAdapter;
        private DevExpress.XtraEditors.SplitContainerControl SCbelge;

        public ABelge2()
        {
            InitializeComponent();
        }

        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.SCbelge = new DevExpress.XtraEditors.SplitContainerControl();
            this.GCbelge = new DevExpress.XtraGrid.GridControl();
            this.belgeBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dSstok = new TX.DSstok();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colBelgeId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTarih = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBelgeTipiId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colInvoiceDate = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colInvoiceNr = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colIrsaliyeTarihi = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colIrsaliyeNr = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colVendorId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colisClosed = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colOwnerId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDovizCinsiId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colKargo = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colGenelToplam = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colAlisSekliId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPaymentTermId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDeliveryTermId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCourierId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colExpensePercentageId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colReferansNo = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colModifiedOn = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.fKBelgeDetayBelgeBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colBelgeDetayId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBelgeId1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colStokId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPurchaseOrderId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCustomerId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTotalQty = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colLineTotal = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colImage = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSatinalmaOKi = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colisClosed1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colModifiedOn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.belgeTableAdapter = new TX.DSstokTableAdapters.BelgeTableAdapter();
            this.belgeDetayTableAdapter = new TX.DSstokTableAdapters.BelgeDetayTableAdapter();
            ((System.ComponentModel.ISupportInitialize)(this.riAlisSekli)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riYer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riBelgeTipi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riCourier)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riDeliveryTerm)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riDovizCinsi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riExpensePercentage)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riFeatureLookup)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riHareketTipi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riPaymentTerm)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riRaf)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riStokkoduTipi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riStokTipi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riVendor)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riCustomer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.riEmployee)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.alisSekliBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSrepository)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.yerBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.belgeTipiBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.courierBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.deliveryTermBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dovizCinsiBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.expensePercentageBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.featureLookupBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.hareketTipiBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.paymentTermBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rafBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.stokkoduTipiBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.stokTipiBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSrepositoryBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.vendorBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.customerBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.employeeBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.SCbelge)).BeginInit();
            this.SCbelge.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.GCbelge)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.belgeBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSstok)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fKBelgeDetayBelgeBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
            this.SuspendLayout();
            // 
            // persistentRepository1
            // 
            this.persistentRepository1.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.riAlisSekli,
            this.riYer,
            this.riBelgeTipi,
            this.riCourier,
            this.riDeliveryTerm,
            this.riDovizCinsi,
            this.riExpensePercentage,
            this.riFeatureLookup,
            this.riHareketTipi,
            this.riPaymentTerm,
            this.riRaf,
            this.riStokkoduTipi,
            this.riStokTipi,
            this.riVendor,
            this.riCustomer,
            this.riEmployee});
            // 
            // riVendor
            // 
            this.riVendor.PopupWidth = 800;
            // 
            // alisSekliBindingSource
            // 
            this.alisSekliBindingSource.Position = 0;
            // 
            // belgeTipiBindingSource
            // 
            this.belgeTipiBindingSource.Position = 0;
            // 
            // courierBindingSource
            // 
            this.courierBindingSource.Position = 0;
            // 
            // deliveryTermBindingSource
            // 
            this.deliveryTermBindingSource.Position = 0;
            // 
            // dovizCinsiBindingSource
            // 
            this.dovizCinsiBindingSource.Position = 0;
            // 
            // expensePercentageBindingSource
            // 
            this.expensePercentageBindingSource.Position = 0;
            // 
            // featureLookupBindingSource
            // 
            this.featureLookupBindingSource.Position = 0;
            // 
            // hareketTipiBindingSource
            // 
            this.hareketTipiBindingSource.Position = 0;
            // 
            // paymentTermBindingSource
            // 
            this.paymentTermBindingSource.Position = 0;
            // 
            // rafBindingSource
            // 
            this.rafBindingSource.Position = 0;
            // 
            // stokkoduTipiBindingSource
            // 
            this.stokkoduTipiBindingSource.Position = 0;
            // 
            // stokTipiBindingSource
            // 
            this.stokTipiBindingSource.Position = 0;
            // 
            // vendorBindingSource
            // 
            this.vendorBindingSource.Position = 0;
            // 
            // customerBindingSource
            // 
            this.customerBindingSource.Position = 0;
            // 
            // employeeBindingSource
            // 
            this.employeeBindingSource.Position = 0;
            // 
            // SCbelge
            // 
            this.SCbelge.Dock = System.Windows.Forms.DockStyle.Fill;
            this.SCbelge.Horizontal = false;
            this.SCbelge.Location = new System.Drawing.Point(0, 0);
            this.SCbelge.Name = "SCbelge";
            this.SCbelge.Panel1.Controls.Add(this.GCbelge);
            this.SCbelge.Panel1.Text = "Panel1";
            this.SCbelge.Panel2.Controls.Add(this.gridControl1);
            this.SCbelge.Panel2.Text = "Panel2";
            this.SCbelge.Size = new System.Drawing.Size(671, 443);
            this.SCbelge.SplitterPosition = 248;
            this.SCbelge.TabIndex = 0;
            this.SCbelge.Text = "splitContainerControl1";
            // 
            // GCbelge
            // 
            this.GCbelge.DataSource = this.belgeBindingSource;
            this.GCbelge.Dock = System.Windows.Forms.DockStyle.Fill;
            this.GCbelge.EmbeddedNavigator.Name = "";
            this.GCbelge.ExternalRepository = this.persistentRepository1;
            this.GCbelge.Location = new System.Drawing.Point(0, 0);
            this.GCbelge.MainView = this.gridView1;
            this.GCbelge.Name = "GCbelge";
            this.GCbelge.Size = new System.Drawing.Size(667, 244);
            this.GCbelge.TabIndex = 0;
            this.GCbelge.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // belgeBindingSource
            // 
            this.belgeBindingSource.DataMember = "Belge";
            this.belgeBindingSource.DataSource = this.dSstok;
            // 
            // dSstok
            // 
            this.dSstok.DataSetName = "DSstok";
            this.dSstok.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView1
            // 
            this.gridView1.BestFitMaxRowCount = 10;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colBelgeId,
            this.colTarih,
            this.colBelgeTipiId,
            this.colInvoiceDate,
            this.colInvoiceNr,
            this.colIrsaliyeTarihi,
            this.colIrsaliyeNr,
            this.colVendorId,
            this.colisClosed,
            this.colOwnerId,
            this.colDovizCinsiId,
            this.colKargo,
            this.colGenelToplam,
            this.colAlisSekliId,
            this.colPaymentTermId,
            this.colDeliveryTermId,
            this.colCourierId,
            this.colExpensePercentageId,
            this.colReferansNo,
            this.colModifiedOn});
            this.gridView1.GridControl = this.GCbelge;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsView.ColumnAutoWidth = false;
            // 
            // colBelgeId
            // 
            this.colBelgeId.Caption = "BelgeId";
            this.colBelgeId.FieldName = "BelgeId";
            this.colBelgeId.Name = "colBelgeId";
            this.colBelgeId.OptionsColumn.ReadOnly = true;
            this.colBelgeId.Visible = true;
            this.colBelgeId.VisibleIndex = 0;
            // 
            // colTarih
            // 
            this.colTarih.Caption = "Tarih";
            this.colTarih.FieldName = "Tarih";
            this.colTarih.Name = "colTarih";
            this.colTarih.Visible = true;
            this.colTarih.VisibleIndex = 1;
            // 
            // colBelgeTipiId
            // 
            this.colBelgeTipiId.Caption = "BelgeTipiId";
            this.colBelgeTipiId.ColumnEdit = this.riBelgeTipi;
            this.colBelgeTipiId.FieldName = "BelgeTipiId";
            this.colBelgeTipiId.Name = "colBelgeTipiId";
            this.colBelgeTipiId.Visible = true;
            this.colBelgeTipiId.VisibleIndex = 2;
            // 
            // colInvoiceDate
            // 
            this.colInvoiceDate.Caption = "InvoiceDate";
            this.colInvoiceDate.FieldName = "InvoiceDate";
            this.colInvoiceDate.Name = "colInvoiceDate";
            this.colInvoiceDate.Visible = true;
            this.colInvoiceDate.VisibleIndex = 3;
            // 
            // colInvoiceNr
            // 
            this.colInvoiceNr.Caption = "InvoiceNr";
            this.colInvoiceNr.FieldName = "InvoiceNr";
            this.colInvoiceNr.Name = "colInvoiceNr";
            this.colInvoiceNr.Visible = true;
            this.colInvoiceNr.VisibleIndex = 4;
            // 
            // colIrsaliyeTarihi
            // 
            this.colIrsaliyeTarihi.Caption = "IrsaliyeTarihi";
            this.colIrsaliyeTarihi.FieldName = "IrsaliyeTarihi";
            this.colIrsaliyeTarihi.Name = "colIrsaliyeTarihi";
            this.colIrsaliyeTarihi.Visible = true;
            this.colIrsaliyeTarihi.VisibleIndex = 5;
            // 
            // colIrsaliyeNr
            // 
            this.colIrsaliyeNr.Caption = "IrsaliyeNr";
            this.colIrsaliyeNr.FieldName = "IrsaliyeNr";
            this.colIrsaliyeNr.Name = "colIrsaliyeNr";
            this.colIrsaliyeNr.Visible = true;
            this.colIrsaliyeNr.VisibleIndex = 6;
            // 
            // colVendorId
            // 
            this.colVendorId.Caption = "VendorId";
            this.colVendorId.ColumnEdit = this.riVendor;
            this.colVendorId.FieldName = "VendorId";
            this.colVendorId.Name = "colVendorId";
            this.colVendorId.Visible = true;
            this.colVendorId.VisibleIndex = 7;
            // 
            // colisClosed
            // 
            this.colisClosed.Caption = "isClosed";
            this.colisClosed.FieldName = "isClosed";
            this.colisClosed.Name = "colisClosed";
            this.colisClosed.Visible = true;
            this.colisClosed.VisibleIndex = 8;
            // 
            // colOwnerId
            // 
            this.colOwnerId.Caption = "OwnerId";
            this.colOwnerId.FieldName = "OwnerId";
            this.colOwnerId.Name = "colOwnerId";
            this.colOwnerId.Visible = true;
            this.colOwnerId.VisibleIndex = 9;
            // 
            // colDovizCinsiId
            // 
            this.colDovizCinsiId.Caption = "DovizCinsiId";
            this.colDovizCinsiId.ColumnEdit = this.riDovizCinsi;
            this.colDovizCinsiId.FieldName = "DovizCinsiId";
            this.colDovizCinsiId.Name = "colDovizCinsiId";
            this.colDovizCinsiId.Visible = true;
            this.colDovizCinsiId.VisibleIndex = 10;
            // 
            // colKargo
            // 
            this.colKargo.Caption = "Kargo";
            this.colKargo.FieldName = "Kargo";
            this.colKargo.Name = "colKargo";
            this.colKargo.Visible = true;
            this.colKargo.VisibleIndex = 11;
            // 
            // colGenelToplam
            // 
            this.colGenelToplam.Caption = "GenelToplam";
            this.colGenelToplam.FieldName = "GenelToplam";
            this.colGenelToplam.Name = "colGenelToplam";
            this.colGenelToplam.Visible = true;
            this.colGenelToplam.VisibleIndex = 12;
            // 
            // colAlisSekliId
            // 
            this.colAlisSekliId.Caption = "AlisSekliId";
            this.colAlisSekliId.ColumnEdit = this.riAlisSekli;
            this.colAlisSekliId.FieldName = "AlisSekliId";
            this.colAlisSekliId.Name = "colAlisSekliId";
            this.colAlisSekliId.Visible = true;
            this.colAlisSekliId.VisibleIndex = 13;
            // 
            // colPaymentTermId
            // 
            this.colPaymentTermId.Caption = "PaymentTermId";
            this.colPaymentTermId.ColumnEdit = this.riPaymentTerm;
            this.colPaymentTermId.FieldName = "PaymentTermId";
            this.colPaymentTermId.Name = "colPaymentTermId";
            this.colPaymentTermId.Visible = true;
            this.colPaymentTermId.VisibleIndex = 14;
            // 
            // colDeliveryTermId
            // 
            this.colDeliveryTermId.Caption = "DeliveryTermId";
            this.colDeliveryTermId.ColumnEdit = this.riDeliveryTerm;
            this.colDeliveryTermId.FieldName = "DeliveryTermId";
            this.colDeliveryTermId.Name = "colDeliveryTermId";
            this.colDeliveryTermId.Visible = true;
            this.colDeliveryTermId.VisibleIndex = 15;
            // 
            // colCourierId
            // 
            this.colCourierId.Caption = "CourierId";
            this.colCourierId.ColumnEdit = this.riCourier;
            this.colCourierId.FieldName = "CourierId";
            this.colCourierId.Name = "colCourierId";
            this.colCourierId.Visible = true;
            this.colCourierId.VisibleIndex = 16;
            // 
            // colExpensePercentageId
            // 
            this.colExpensePercentageId.Caption = "ExpensePercentageId";
            this.colExpensePercentageId.ColumnEdit = this.riExpensePercentage;
            this.colExpensePercentageId.FieldName = "ExpensePercentageId";
            this.colExpensePercentageId.Name = "colExpensePercentageId";
            this.colExpensePercentageId.Visible = true;
            this.colExpensePercentageId.VisibleIndex = 17;
            // 
            // colReferansNo
            // 
            this.colReferansNo.Caption = "ReferansNo";
            this.colReferansNo.FieldName = "ReferansNo";
            this.colReferansNo.Name = "colReferansNo";
            this.colReferansNo.Visible = true;
            this.colReferansNo.VisibleIndex = 18;
            // 
            // colModifiedOn
            // 
            this.colModifiedOn.Caption = "ModifiedOn";
            this.colModifiedOn.FieldName = "ModifiedOn";
            this.colModifiedOn.Name = "colModifiedOn";
            this.colModifiedOn.Visible = true;
            this.colModifiedOn.VisibleIndex = 19;
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.fKBelgeDetayBelgeBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.EmbeddedNavigator.Name = "";
            this.gridControl1.ExternalRepository = this.persistentRepository1;
            this.gridControl1.Location = new System.Drawing.Point(0, 0);
            this.gridControl1.MainView = this.gridView2;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(667, 185);
            this.gridControl1.TabIndex = 0;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2,
            this.gridView3});
            // 
            // fKBelgeDetayBelgeBindingSource
            // 
            this.fKBelgeDetayBelgeBindingSource.DataMember = "FK_BelgeDetay_Belge";
            this.fKBelgeDetayBelgeBindingSource.DataSource = this.belgeBindingSource;
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colBelgeDetayId,
            this.colBelgeId1,
            this.colStokId,
            this.colPurchaseOrderId,
            this.colCustomerId,
            this.colTotalQty,
            this.colLineTotal,
            this.colImage,
            this.colSatinalmaOKi,
            this.colisClosed1,
            this.colModifiedOn1});
            this.gridView2.GridControl = this.gridControl1;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsView.ColumnAutoWidth = false;
            // 
            // colBelgeDetayId
            // 
            this.colBelgeDetayId.Caption = "BelgeDetayId";
            this.colBelgeDetayId.FieldName = "BelgeDetayId";
            this.colBelgeDetayId.Name = "colBelgeDetayId";
            this.colBelgeDetayId.OptionsColumn.ReadOnly = true;
            this.colBelgeDetayId.Visible = true;
            this.colBelgeDetayId.VisibleIndex = 0;
            // 
            // colBelgeId1
            // 
            this.colBelgeId1.Caption = "BelgeId";
            this.colBelgeId1.FieldName = "BelgeId";
            this.colBelgeId1.Name = "colBelgeId1";
            this.colBelgeId1.Visible = true;
            this.colBelgeId1.VisibleIndex = 1;
            // 
            // colStokId
            // 
            this.colStokId.Caption = "StokId";
            this.colStokId.FieldName = "StokId";
            this.colStokId.Name = "colStokId";
            this.colStokId.Visible = true;
            this.colStokId.VisibleIndex = 2;
            // 
            // colPurchaseOrderId
            // 
            this.colPurchaseOrderId.Caption = "PurchaseOrderId";
            this.colPurchaseOrderId.FieldName = "PurchaseOrderId";
            this.colPurchaseOrderId.Name = "colPurchaseOrderId";
            this.colPurchaseOrderId.Visible = true;
            this.colPurchaseOrderId.VisibleIndex = 3;
            // 
            // colCustomerId
            // 
            this.colCustomerId.Caption = "CustomerId";
            this.colCustomerId.ColumnEdit = this.riCustomer;
            this.colCustomerId.FieldName = "CustomerId";
            this.colCustomerId.Name = "colCustomerId";
            this.colCustomerId.Visible = true;
            this.colCustomerId.VisibleIndex = 4;
            // 
            // colTotalQty
            // 
            this.colTotalQty.Caption = "TotalQty";
            this.colTotalQty.FieldName = "TotalQty";
            this.colTotalQty.Name = "colTotalQty";
            this.colTotalQty.Visible = true;
            this.colTotalQty.VisibleIndex = 5;
            // 
            // colLineTotal
            // 
            this.colLineTotal.Caption = "LineTotal";
            this.colLineTotal.FieldName = "LineTotal";
            this.colLineTotal.Name = "colLineTotal";
            this.colLineTotal.Visible = true;
            this.colLineTotal.VisibleIndex = 6;
            // 
            // colImage
            // 
            this.colImage.Caption = "Image";
            this.colImage.FieldName = "Image";
            this.colImage.Name = "colImage";
            this.colImage.Visible = true;
            this.colImage.VisibleIndex = 7;
            // 
            // colSatinalmaOKi
            // 
            this.colSatinalmaOKi.Caption = "SatinalmaOKi";
            this.colSatinalmaOKi.FieldName = "SatinalmaOKi";
            this.colSatinalmaOKi.Name = "colSatinalmaOKi";
            this.colSatinalmaOKi.Visible = true;
            this.colSatinalmaOKi.VisibleIndex = 8;
            // 
            // colisClosed1
            // 
            this.colisClosed1.Caption = "isClosed";
            this.colisClosed1.FieldName = "isClosed";
            this.colisClosed1.Name = "colisClosed1";
            this.colisClosed1.Visible = true;
            this.colisClosed1.VisibleIndex = 9;
            // 
            // colModifiedOn1
            // 
            this.colModifiedOn1.Caption = "ModifiedOn";
            this.colModifiedOn1.FieldName = "ModifiedOn";
            this.colModifiedOn1.Name = "colModifiedOn1";
            this.colModifiedOn1.Visible = true;
            this.colModifiedOn1.VisibleIndex = 10;
            // 
            // gridView3
            // 
            this.gridView3.GridControl = this.gridControl1;
            this.gridView3.Name = "gridView3";
            // 
            // belgeTableAdapter
            // 
            this.belgeTableAdapter.ClearBeforeFill = true;
            // 
            // belgeDetayTableAdapter
            // 
            this.belgeDetayTableAdapter.ClearBeforeFill = true;
            // 
            // ABelge
            // 
            this.Controls.Add(this.SCbelge);
            this.Name = "ABelge";
            this.Size = new System.Drawing.Size(671, 443);
            this.Load += new System.EventHandler(this.ABelge_Load);
            ((System.ComponentModel.ISupportInitialize)(this.riAlisSekli)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riYer)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riBelgeTipi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riCourier)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riDeliveryTerm)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riDovizCinsi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riExpensePercentage)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riFeatureLookup)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riHareketTipi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riPaymentTerm)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riRaf)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riStokkoduTipi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riStokTipi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riVendor)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riCustomer)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.riEmployee)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.alisSekliBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSrepository)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.yerBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.belgeTipiBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.courierBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.deliveryTermBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dovizCinsiBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.expensePercentageBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.featureLookupBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.hareketTipiBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.paymentTermBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rafBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.stokkoduTipiBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.stokTipiBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSrepositoryBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.vendorBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.customerBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.employeeBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.SCbelge)).EndInit();
            this.SCbelge.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.GCbelge)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.belgeBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dSstok)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fKBelgeDetayBelgeBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
            this.ResumeLayout(false);

        }

        private void ABelge_Load(object sender, EventArgs e)
        {
            belgeTableAdapter.Fill(dSstok.Belge);
            belgeDetayTableAdapter.Fill(dSstok.BelgeDetay);

            gridView1.BestFitColumns();
            gridView2.BestFitColumns();
        }
    }
}